/*
InterfazP.java
Autor: Paola Garcia, carnet 10205
Fecha: 22 septiembre 2011
Descripcion: interfaz que genera las acciones de la lista de prioridad.
*/

public interface InterfazP<E extends Comparable<E>>{
	public E getFirst();
	// pre: !isEmpty()
	// post: returns the minimum value in priority queue
	public E remove();
	// pre: !isEmpty()
	// post: returns and removes minimum value from queue
	public void add(E value);
	// pre: value is non-null comparable
	// post: value is added to priority queue
	public boolean isEmpty();
	// post: returns true iff no elements are in queue
	public int size();
	// post: returns number of elements within queue
	public void clear();
	// post: removes all elements from queue

}


